<?php
('Access-Control-Allow-Origin：*');
include("../config/mysql.php");
$db = new mysql();
$tid = $_POST["tid"];
$name = $_POST["name"];
$phone = $_POST["phone"];
$cardid = $_POST["cardid"];
$mail = $_POST["mail"];
$sosperson = $_POST["sosperson"];
$sosphone = $_POST["sosphone"];
$school = $_POST["school"];
$major = $_POST["major"];
$money = $_POST["money"];
$creattime = $_POST["creattime"];
$educationType = $_POST["educationType"];
$remarks = $_POST["remarks"];
$oweafee = $_POST["oweafee"];
$chengben = $_POST["chengben"];
$cengci = $_POST["cengci"];
$unifiedExam = $_POST["unifiedExam"];
$paper = $_POST["paper"];
$baccalaureate = $_POST["baccalaureate"];
$signUpTime = $_POST["signUpTime"];
$signUpYear = $_POST["signUpYear"];
$veteran = $_POST["veteran"];
$company_id = $_POST["company_id"];
$sql = "INSERT INTO students (cengci,tid,name,phone,cardid,mail,sosperson,sosphone,school,major,money,creattime,educationType,chengben,remarks,oweafee,unifiedExam,paper,baccalaureate,signUpTime,signUpYear,downLoadPath,veteran,company_id) VALUES ('{$cengci}','{$tid}','{$name}','{$phone}','{$cardid}','{$mail}','{$sosperson}','{$sosphone}','{$school}','{$major}','{$money}','{$creattime}','{$educationType}','{$chengben}','{$remarks}','{$oweafee}','{$unifiedExam}','{$paper}','{$baccalaureate}','{$signUpTime}','{$signUpYear}','','{$veteran}',{$company_id})";
echo $db->Query($sql);
$db->close();
